﻿using System.ComponentModel.DataAnnotations;

namespace Entity
{
    public class Employee
    {
        public Employee()
        {
            this.ID = Guid.NewGuid();
        }
        /// <summary>
        /// 数据唯一标识符
        /// </summary>
        [Required]
        public Guid ID { get; set; }
        /// <summary>
        /// 职工信息表中属于自己的职位
        /// </summary>
        [Required]
        public int Postion { get; set; }
        /// <summary>
        /// 职工信息表中的薪资
        /// </summary>
        [Required]
        public float Salary { get; set; }
        /// <summary>
        /// 职工信息表中的上班时间
        /// </summary>
        [Required]
        public DateTime work { get; set; }
        /// <summary>
        /// 职工信息表中的待遇
        /// </summary>
        [Required]
        public string salary { get; set; }
        /// <summary>
        /// 职工信息表中的特长
        /// </summary>
        [Required]
        public string talent { get; set; }
        /// <summary>
        /// 职工信息表中的学历
        /// </summary>
        [Required]
        public string educationalbackground { get; set; }
        /// <summary>
        /// 职工信息表中的技术
        /// </summary>
        [Required]
        public string technology { get; set; }
        /// <summary>
        /// 职工信息表中的参加工作日期
        /// </summary>
        [Required]
        public DateTime WorkingDate { get; set; }
        /// <summary>
        /// 职工信息表中的注册时间
        /// </summary>
        [Required]
        public DateTime AddTime { get; set; }
    }
}
